Python/Basics/Previous and next/prev&next.py
x=int(input("Enter your number:"))
a=x-1
b=x+1
print("The previous number is:",a,"\nThe next number is:",b)
x=int(input("Enter your number:"))
a=x-1
b=x+1
print("The previous number is:",a,"\nThe next number is:",b)